OTP\Handler\Forms\WooCommerceCheckOutForm C

Total Complexity 123
Dependencies 11
Dependents 0
Total lines 935
Lines of code 557
Logical lines of code 231
Comment lines 299
Methods 41
Properties 7

Methods 41

Method Rating Maintainability Complexity Lines of code
handle_form_options()
A
45 9 40
add_custom_button()
A
41 5 95
my_custom_checkout_field_process()
A
55 9 21
handle_form()
A
47 7 33
enqueue_script_on_page()
S
52 6 21
my_custom_checkout_field()
S
52 5 25
checkIntegrity()
S
56 4 19
webroom_check_if_product_category_in_cart()
S
58 4 15
add_custom_popup()
S
65 5 9
mo_showButtonOnPage()
S
59 4 14
checkIfVerificationCodeNotEntered()
S
61 4 11
routeData()
S
62 4 11
__construct()
S
57 3 16
checkPhoneValidity()
S
63 3 11
handle_woocommerce_checkout_form()
S
54 2 23
showTextLinkOnPage()
S
57 2 18
load_mo_popup()
S
52 1 31
get_phone_number_selector()
S
70 3 6
billing_phone_process()
S
67 3 7
processEmail()
S
65 3 8
process_phone_number()
S
64 3 8
isPaymentVerificationNeeded()
S
73 3 4
handle_otp_token_submitted()
S
64 3 10
disable_auto_login_after_checkout()
S
64 3 9
show_validation_button_or_text()
S
69 3 8
handle_post_verification()
S
64 2 12
handle_failed_verification()
S
63 2 12
isPhoneNumberAlreadyInUse()
S
65 2 8
checkIfVerificationNotStarted()
S
68 2 7
checkIfOTPSent()
S
66 2 10
place_after_validating_field()
S
68 2 7
isSelectivePaymentEnabled()
S
86 1 2
showButtonInstead()
S
86 1 2
isPopUpEnabled()
S
86 1 2
getPaymentMethods()
S
86 1 2
process_wc_form_and_validate_otp()
S
73 1 5
isGuestCheckoutOnlyEnabled()
S
86 1 2
unset_otp_session_variables()
S
80 1 3
checkIntegrityAndValidateOTP()
S
74 1 4
common_button_or_link_enable_disable_script()
S
78 1 4
isAutoLoginDisabled()
S
86 1 2